import Vue from 'vue'
import App from './App'
import uView from 'uview-ui'
import request from './common/request.js'
import requestYz from './common/requestYedh.js'
// import viewData from '@/components/scrollView.vue';
import url from './common/config.js'
import url2 from './common/configYedh.js'
import router from './router'
import {
	RouterMount
} from './js_sdk/hhyang-uni-simple-router/index.js';
const currentVersion = {
	id: 12
}
Vue.use(uView);
Vue.config.productionTip = false
 // Vue.component('viewData', viewData);
Vue.prototype.$current = currentVersion
Vue.prototype.$request = request
Vue.prototype.$url = url

Vue.prototype.$requestYz = requestYz
Vue.prototype.$url = url2
App.mpType = 'app'


const app = new Vue({
	...App
})


import httpApi from '@/common/http.api.js'
Vue.use(httpApi, app)

// // #ifdef H5
RouterMount(app, '#app');
// // #endif

// #ifndef H5
app.$mount()
// #endif
